package com.chaodev.base.model;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * sys_growth_system
 * @author 
 */
@Data
@ApiModel(value = "SysGrowSystem对象",description = "成长体系配置信息")
public class GrowthSystem implements Serializable {
    /**
     * 主键ID
     */
    @ApiModelProperty(value = "ID值")
    private Integer id;

    /**
     * 累计时长
     */
    @ApiModelProperty(value = "累计时长")
    private Double accumulatedDuration;

    /**
     * 时长类型/来源, 默认是1-志愿活动, 多种类型用豆号隔开
     */
    @ApiModelProperty(value = "时长类型/来源")
    private String durationType;

    /**
     * 对应积分值
     */
    @ApiModelProperty(value = "所需积分值")
    private Double points;

    /**
     * 等级名称
     */
    @ApiModelProperty(value = "等级名称")
    private String gradeName;

    /**
     * 描述/备注
     */
    @ApiModelProperty(value = "描述/备注")
    private String explanation;

    /**
     * 数据状态: 0-禁用,1-启用
     */
    @ApiModelProperty(value = "数据状态")
    private Integer state;

    @ApiModelProperty(value = "创建人")
    private String cUser;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern="yyyy-MM-ddHH:mm:ss")
    @JsonFormat(locale="zh",timezone="GMT+8",pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime cTime;

    @ApiModelProperty(value = "修改人")
    private String updateUser;

    @ApiModelProperty(value = "修改时间")
    @DateTimeFormat(pattern="yyyy-MM-ddHH:mm:ss")
    @JsonFormat(locale="zh",timezone="GMT+8",pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    private static final long serialVersionUID = 1L;
}